﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KWT.DRG_DIP.DO.System
{
    public class Output<T>
    {
        /// <summary>
        /// 标识
        /// </summary>
        public bool Flag { get; set; }
        /// <summary>
        /// 成功的消息
        /// </summary>
        public string Succ { get; set; }
        /// <summary>
        /// 失败的消息
        /// </summary>
        public string Fail { get; set; }
        /// <summary>
        /// 标识码
        /// </summary>
        public int Code { get; set; } = 0;
        /// <summary>
        /// 数据
        /// </summary>
        public T Data { get; set; }
    }
}
